<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="../css/mui.css">
		<link rel="stylesheet" href="../css/common.css">
		<link rel="stylesheet" href="../css/contact.css" />
		<link rel="stylesheet" href="../css/animate.css">
		<style>
			.mui-search .mui-placeholder {
				line-height: 26px !important;
			}
		</style>
	</head>

	<body id="body" style="background-color: #FFFFFF;height: 100%;" class="mui-scroll-wrapper">
		<div id="content" class="mui-content" style="background-color: #FFFFFF;">
			<div style="padding: 5px;background-color: #EEEEEE;height: 50px;">
				<div class="mui-input-row mui-search mui-active" style="width: 87%;float: left;">
						<form onsubmit="return searchContact()">
							<input id="search" autofocus="true" type="search" class="mui-input-clear" style="height: 26px;background-color: #FFFFFF;">
						</form>
					</div>
					<div style="width: 13%;font-size: 15px;float: left;padding-left: 10px;padding-top: 3px;">
						<a href="javascript:void(0);" id="tabToContact">取消</a>
					</div>
			</div>
			<div>
				<ul id="container" class="container mui-table-view mui-collapse contact-group" style="margin-top: 0px;">

				</ul>
			</div>
		</div>
		<div id="loading" style="display: none;background-color: #FFFFFF;">
			<div class="load1" style="background-color: #FFFFFF;">
				<div class="loader">Loading...</div>
			</div>
			<div style="margin: 0 auto;text-align: center;font-size: 14px;color: #666;"></div>
		</div>
	</body>
	<script type="text/javascript" src="../js/mui.min.js"></script>
	<script type="text/javascript" src="../js/jquery.js"></script>
	<script type="text/javascript" src="../js/jquery.json.js" ></script>
	<script type="text/javascript" src="../js/pan_config.js" ></script>
	<script type="text/javascript" src="../js/common.js" ></script>
	<script type="text/javascript" src="../js/searchContact.js" ></script>
	<script>
		mui.init({
			pullRefresh: {
				container: '#body',
				up: {
					callback: pulldownRefresh,
					contentnomore:"没有更多数据了"
				}
			}
		});
		/**
		 * 下拉刷新具体业务实现
		 */
		function pulldownRefresh() {
			setTimeout(function() {
				pageNum = pageNum +1;
				searchContact();
				mui('#body').pullRefresh().endPullupToRefresh(); //refresh completed
			}, 1500);
		}

	</script>
</html>